<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0)">招聘职位</a></li>
        <li><a href="{:url('Recruit/add')}">添加职位</a></li>
    </ul>
    <table class="table table-hover table-bordered margin-top-20">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>职位名称</th>
            <th>工作形式</th>
            <th>薪资水平</th>
            <th width="130">{:lang('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="recruits" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.name}</td>
                <td>
                    {$vo.work_type}
                </td>
                <td>
                    {$vo.price}
                </td>
                <td>
                    <a href="{:url('Recruit/delete',array('id'=>$vo['id']))}"
                       class="js-ajax-delete">{:lang('DELETE')}</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>